Pet Store Web Service
Pet Store Web Service / Operations about user Resource Group / updateUser (Put)
In This Topic
    PutupdateUser
    In This Topic

    Resource Path: /user/{username}

    Description
    Updated user
    Parameters
    NameDescriptionData Type
    name that need to be updatedstring
    Request

    The request body is of type User.

    Updated user object

    Overview

    User
    Represents an individual user.
    id : integer
    Unique identifier for this user.
    username : string
    Unique user name.
    firstName : string
    First Name.
    lastName : string
    Last Name.
    email : string
    Email address.
    password : string
    Current password.
    phone : string
    Phone number.
    userStatus : integer
    1 = registered, 2 = active, 3 = closed.
    Fault Responses
    FaultDescription
    Invalid user supplied
    User not found
    See Also